package nodes.statements;

import nodes.exprnodes.ExprNode;
import nodes.exprnodes.variables.VariableListNode;
import visitors.Visitor;

public final class AssignNode extends StatementNode
{
    public VariableListNode var;
    public ExprNode expr;

    public AssignNode(VariableListNode var, ExprNode expr)
    {
        this.var = var;
        this.expr = expr;
    }

    @Override
    public Object accept(Visitor v)
    {
        return v.visit(this);
    }
}